#pragma once
#include "afxcmn.h"
#include "afxwin.h"


// CDlgBookFile dialog

class CDlgBookFile : public CDialog
{
	DECLARE_DYNAMIC(CDlgBookFile)

public:
	CDlgBookFile(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlgBookFile();

// Dialog Data
	enum { IDD = IDD_DIALOG_FILE };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	CListCtrl m_listFile;
	afx_msg void OnBnClickedButtonSelectfile();
	afx_msg void OnBnClickedButtonDeletefile();
	virtual BOOL OnInitDialog();
	afx_msg void OnNMDblclkListBookfile(NMHDR *pNMHDR, LRESULT *pResult);
public:
	CString m_strFileName;
	CString m_strFilePath;
	void UpdateListInfo();
	afx_msg void OnBnClickedButtonSetpath();
	CComboBox m_comBookType;
};
